
<!--
 * @Autor: 张小鹏
 * @Date: 2020-01-06 10:26:03
 * @LastEditors: 张小鹏
 * @LastEditTime: 2020-04-08 09:33:41
 * @description: 
 -->

<template>
  <el-table-column
    :type="item.type"
    :column-key="item.columnKey"
    :index="item.index"
    :label="item.label"
    :prop="item.prop"
    :width="item.width"
    :min-width="item.minWidth"
    :fixed="item.fixed"
    :render-header="item.renderHeader"
    :sortable="item.sortable || false"
    :sort-method="item.sortMethod"
    :sort-by="item.sortBy"
    :resizable="item.resizable || true"
    :formatter="item.formatter"
    :show-overflow-tooltip="item.showOverflowTooltip || false"
    :align="item.align || 'left'"
    :header-align="item.headerAlign"
    :class-name="item.className"
    :label-class-name="item.labelClassName"
    :selectable="selectable || item.selectable"
    :reserve-selection="item.reserveSelection || false"
    :filters="item.filters"
    :filter-placement="item.filterPlacement"
    :filter-multiple="item.filterMultiple || true"
    :filter-method="item.filterMethod"
    :filtered-value="item.filteredValue"
  >
    <el-column v-for="(child, index) in item.children" :key="index" :item="child" />
  </el-table-column>
</template>

<script>
export default {
  name: "ElColumn",
  props: {
    item: {
      type: Object,
      default: () => null
    },
    selectable: {
      type: Function
    },
    Pageinfo: {
      type: Object
    }
  },
  computed: {}
  //item.className
};
</script>